<?php
require("includes/basic.php");
$taskid=$_POST['task'];
$taskname=$_POST['title'];
$taskdesc=addslashes($_POST['taskdesc']);
$pid=$_POST['project'];
$sid=$_POST['phase'];
$mid=$_POST['module'];
//$clienttpe=$_POST['clienttpe'];
echo $pid;
echo $sid;
echo $mid;

	$sql="update task_master set task_title='$taskname',task_description='$taskdesc' where task_id=$taskid";
	$sql_res=mysql_query($sql);
	
	if($sql_res)
	{
		header("location:view-task.php?pid=$pid&sid=$sid&mid=$mid");
	}
?>


